﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 订单明细
    /// </summary>
    /// 

    public class Ec_OrderLIstDTO
    {
        public string code { get; set; }
        public string message { get; set; }
        public string requestId { get; set; }
        public long timestamp { get; set; }
        public string version { get; set; }
        public string nonce_str { get; set; }
        public string sign_type { get; set; }
        public string sign { get; set; }
        public string biz_content { get; set; }

    }


    public class Ec_OrderLIstDTO_Data
    {
        public string total { get; set; }
        public string pi_id { get; set; }
        public int page { get; set; }
        public int page_size { get; set; }
        public List<Ec_OrderLIst> data { get; set; }
    }

    public class Ec_OrderLIst
    {

        public string RowId { get; set; }
        public string ID { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public string order_id { get; set; }
        /// <summary>
        /// 平台代码
        /// </summary>
        public string platform { get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        private string _order_type;
        public string order_type
        {
            get
            {
                return _order_type;
            }

            set
            {
                if (value == "sale") _order_type = "正常销售订单";
                else if (value == "resend") _order_type = "重发订单";
                else if (value == "line") _order_type = "线下订单";
                else _order_type = value;
            }

        }
        /// <summary>
        /// 创建类型
        /// </summary>
        private string _create_type;
        public string create_type
        {
            get
            {
                return _create_type;
            }

            set
            {
                if (value == "api") _create_type = "下载的订单";
                else if (value == "upload") _create_type = "批量上传订单";
                else if (value == "hand") _create_type = "手工创建订单";
                else _create_type = value;
            }

        }

        /// <summary>
        /// 订单状态	
        /// </summary>
        public string _status;
        public string status
        {
            get
            {
                return _status;
            }

            set
            {
                if (value == "0") _status = "已废弃";
                else if (value == "1") _status = "付款未完成";
                else if (value == "2") _status = "待发货审核";
                else if (value == "3") _status = "待发货";
                else if (value == "4") _status = "已发货";
                else if (value == "5") _status = "冻结中";
                else if (value == "6") _status = "缺货";
                else if (value == "7") _status = "问题件";
                else if (value == "8") _status = "未付款";
                else if (value == "100") _status = "未审核";
                else if (value == "101") _status = "审核不通过";
                else if (value == "102") _status = "废弃订单";
                else _status = value;
            }

        }
        /// <summary>
        /// 待发货处理状态
        /// </summary>
        private string _process_again;
        public string process_again
        {
            get
            {
                return _process_again;
            }
            set
            {
                if (value == "1") _process_again = "已处理";
                else if (value == "2") _process_again = "未处理";
                else if (value == "3") _process_again = "处理异常";
                else _process_again = value;
            }

        }
        /// <summary>
        /// 参考单号
        /// </summary>
        public string refrence_no { get; set; }
        /// <summary>
        /// 包裹状态
        /// </summary>

        private string _track_status;
        public string track_status
        {
            get
            {
                return _track_status;
            }
            set
            {
                if (value == "0") _track_status = "待查询";
                else if (value == "1") _track_status = "额度不足";
                else if (value == "2") _track_status = "排除查询";
                else if (value == "3") _track_status = "查询中";
                else if (value == "4") _track_status = "查询不到";
                else if (value == "5") _track_status = "运输途中";
                else if (value == "6") _track_status = "到达待取";
                else if (value == "7") _track_status = "成功签收";
                else if (value == "8") _track_status = "运输过久";
                else if (value == "9") _track_status = "可能异常";
                else if (value == "10") _track_status = "投递失败";
                else _track_status = value;
            }

        }
        /// <summary>
        /// 签收时间	
        /// </summary>
        public string track_delivered_time { get; set; }


        /// <summary>
        /// 销售单号
        /// </summary>
        public string order_code { get; set; }


        /// <summary>
        /// 系统单号	
        /// </summary>
        public string refrence_no_sys { get; set; }
        /// <summary>
        /// 仓库单号	
        /// </summary>
        public string warehouse_order_code { get; set; }
        /// <summary>
        /// 公司代码	
        /// </summary>
        public string company_code { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string user_account { get; set; }
        /// <summary>
        /// 账号别名
        /// </summary>
        public string platform_user_name { get; set; }
        /// <summary>
        /// 仓库运输方式代码
        /// </summary>
        public string shipping_method { get; set; }

        /// <summary>
        /// 跟踪号
        /// </summary>
        public string shipping_method_no { get; set; }

        /// <summary>
        /// 服务号
        /// </summary>
        public string service_number { get; set; }

        /// <summary>
        /// 平台运输方式代码
        /// </summary>
        public string shipping_method_platform { get; set; }

        /// <summary>
        /// 仓库id
        /// </summary>
        public string warehouse_id { get; set; }

        /// <summary>
        /// 仓库条码	
        /// </summary>
        public string warehouse_product_barcode { get; set; }
        /// <summary>
        /// 仓库代码	
        /// </summary>
        public string warehouse_code { get; set; }
        /// <summary>
        /// 创建时间（原单等于平台创建时间。拆分、合并后的订单等于易仓系统创建时间）
        /// </summary>
        public string date_create { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string update_date { get; set; }

        /// <summary>
        /// 平台付款时间
        /// </summary>
        public string platform_paid_date { get; set; }

        /// <summary>
        /// 平台创建时间	
        /// </summary>
        public string date_create_platform { get; set; }
        /// <summary>
        /// 平台发货状态	
        /// </summary>
        private string _platform_ship_status;
        public string platform_ship_status
        {
            get
            {
                return _platform_ship_status;
            }
            set
            {
                if (value == "0") _platform_ship_status = "未发货";
                else if (value == "1") _platform_ship_status = "已发货";
                else _platform_ship_status = value;
            }
        }
        /// <summary>
        /// 平台发货时间
        /// </summary>
        public string platform_ship_date { get; set; }
        /// <summary>
        /// 仓库发货时间	
        /// </summary>
        public string warehouse_ship_date { get; set; }
        /// <summary>
        /// 最晚发货时间	
        /// </summary>
        private string _platform_latest_ship_date;
        public string platform_latest_ship_date
        {


            get { return _platform_latest_ship_date; }
            set
            {

                if (value == "0000-00-00 00:00:00") _platform_latest_ship_date = "";
                else _platform_latest_ship_date = value;
            }

        }
        /// <summary>
        /// 币种
        /// </summary>
        public string currency { get; set; }
        /// <summary>
        /// 总金额	
        /// </summary>
        public string amountpaid { get; set; }
        /// <summary>
        /// 销售额	
        /// </summary>
        public string subtotal { get; set; }
        /// <summary>
        /// 运费	
        /// </summary>
        public string ship_fee { get; set; }
        /// <summary>
        /// 总手续费
        /// </summary>
        public string platform_fee_total { get; set; }
        /// <summary>
        /// 总交易费
        /// </summary>
        public string finalvalue_fee_total { get; set; }
        /// <summary>
        /// 其他费用
        /// </summary>
        public string other_fee { get; set; }
        /// <summary>
        /// 试算运费
        /// </summary>
        public string cost_ship_fee { get; set; }
        /// <summary>
        /// 买家ID
        /// </summary>
        public string buyer_id { get; set; }
        /// <summary>
        /// 买家名称
        /// </summary>
        public string buyer_name { get; set; }
        /// <summary>
        /// 买家邮箱
        /// </summary>
        public string buyer_mail { get; set; }
        /// <summary>
        /// 订单站点
        /// </summary>
        public string site { get; set; }
        /// <summary>
        /// 收件人国家二字码
        /// </summary>
        public string country_code { get; set; }
        /// <summary>
        /// 订单出库数量
        /// </summary>
        public string product_count { get; set; }
        /// <summary>
        /// 订单重量
        /// </summary>
        public string order_weight { get; set; }
        /// <summary>
        /// 买家留言
        /// </summary>
        public string order_desc { get; set; }
        /// <summary>
        /// paypal交易号
        /// </summary>
        public string paypal_transaction_id { get; set; }
        /// <summary>
        /// 付款方式/支付方式
        /// </summary>
        public string payment_method { get; set; }
        /// <summary>
        /// 异常类型	
        /// </summary>
        private string _abnormal_type;
        public string abnormal_type
        {
            get
            {
                return _abnormal_type;
            }
            set
            {
                if (value == "1") _abnormal_type = "换地址";
                else if (value == "2") _abnormal_type = "退货取消";
                else if (value == "3") _abnormal_type = "换SKU";
                else if (value == "4") _abnormal_type = "其他";
                else if (value == "5") _abnormal_type = "同步服务商失败";
                else if (value == "6") _abnormal_type = "断货";
                else if (value == "7") _abnormal_type = "SKU未找到";
                else if (value == "11") _abnormal_type = "无门牌号";
                else if (value == "12") _abnormal_type = "计费失败";
                else if (value == "21") _abnormal_type = "账户未设置FBA/FBC订单分配规则";
                else if (value == "22") _abnormal_type = "表示仓库缺货的问题类型";
                else if (value == "23") _abnormal_type = "表示仓库未找到SKU信息的问题类型";
                else if (value == "30") _abnormal_type = "仓库拦截中";
                else _abnormal_type = value;
            }
        }

        /// <summary>
        /// 异常信息
        /// </summary>
        public string abnormal_reason { get; set; }
        /// <summary>
        /// 原始订单数据
        /// </summary>
        //public order_config_datas order_config_datas { get; set; }
        /// <summary>
        /// 订单明细
        /// </summary>
        public List<order_details> order_details { get; set; }
        /// <summary>
        /// 订单地址
        /// </summary>
        public order_address order_address { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public string shipping_address_id { get; set; }
        /// <summary>
        /// 收件人名称
        /// </summary>
        public string order_address_name { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string order_address_company_name { get; set; }
        /// <summary>
        /// 国家二字码
        /// </summary>
        public string order_address_country_code { get; set; }
        /// <summary>
        /// 国家名称
        /// </summary>
        public string order_address_country_name { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string order_address_city_name { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string order_address_postal_code { get; set; }
        /// <summary>
        /// 地址第一行
        /// </summary>
        public string order_address_line1 { get; set; }
        /// <summary>
        /// 地址第二行
        /// </summary>
        public string order_address_line2 { get; set; }
        /// <summary>
        /// 地址第三行
        /// </summary>
        public string order_address_line3 { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        public string order_address_district { get; set; }
        /// <summary>
        /// 州或省
        /// </summary>
        public string order_address_state { get; set; }
        /// <summary>
        /// 门牌号
        /// </summary>
        public string order_address_doorplate { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string order_address_phone { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public string order_address_created_date { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string order_address_update_date { get; set; }










        /// <summary>
        /// 自定义订单类型
        /// </summary>
        public string custom_order_type { get; set; }
        /// <summary>
        /// 订单标记状态
        /// </summary>
        private string _is_mark;
        public string is_mark
        {
            get
            {
                return _is_mark;
            }
            set
            {
                if (value == "0") _is_mark = "未标记";
                else if (value == "1") _is_mark = "已标记";
                else _is_mark = value;
            }
        }
        /// <summary>
        /// 客服备注
        /// </summary>
        public string customer_service_note { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public string discount_val { get; set; }
        /// <summary>
        /// paypal收款帐户
        /// </summary>
        public string paypal_account { get; set; }
        /// <summary>
        /// 系统创建时间
        /// </summary>
        public string date_create_sys { get; set; }
        /// <summary>
        /// 原始订单数据
        /// </summary>
        private string _is_business_order;
        public string is_business_order
        {
            get
            {
                return _is_business_order;
            }
            set
            {
                if (value == "0") _is_business_order = "不是";
                else if (value == "1") _is_business_order = "是";
                else _is_business_order = value;
            }
        }
        /// <summary>
        /// 收税人税号（仅amazon平台可用） 默认优先返回VAT税号
        /// </summary>
        public string buyer_tax_registration_id { get; set; }
        /// <summary>
        /// 系统标记-英文
        /// </summary>
        public string system_tag_en { get; set; }
        /// <summary>
        /// 系统标记-中文
        /// </summary>
        public string system_tag_zh { get; set; }
        /// <summary>
        /// 自定义标记-英文
        /// </summary>
        public string custom_tag_en { get; set; }
        /// <summary>
        /// 自定义标记-中文
        /// </summary>
        public string custom_tag_zh { get; set; }
        /// <summary>
        /// 总单承运商
        /// </summary>
        public string outbound_batch_carrier { get; set; }
        /// <summary>
        /// 总单跟踪号
        /// </summary>
        public string outbound_batch_tracking_no { get; set; }
        /// <summary>
        /// 订单创建人系统登录账户
        /// </summary>
        public string creater_user_code { get; set; }
        /// <summary>
        /// 订单创建人中文
        /// </summary>
        public string creater_user_name { get; set; }
        /// <summary>
        /// 订单创建人英文
        /// </summary>
        public string creater_user_name_en { get; set; }
        /// <summary>
        /// 系统备注
        /// </summary>
        public string system_note { get; set; }
        /// <summary>
        /// 账单号
        /// </summary>
        public string bill_no { get; set; }
        /// <summary>
        /// 是否为Amazon换货单
        /// </summary>
        private string _is_replacement_order;
        public string is_replacement_order
        {
            get
            {
                return _is_replacement_order;
            }
            set
            {
                if (value == "0") _is_replacement_order = "否";
                else if (value == "1") _is_replacement_order = "是";
                else _is_replacement_order = value;
            }
        }
        /// <summary>
        /// FBA费用
        /// </summary>
        public string fba_fee { get; set; }
        /// <summary>
        /// 平台补贴费
        /// </summary>
        public string seller_rebate { get; set; }
        /// <summary>
        /// FBA订单发货时间
        /// </summary>
        public string fba_shipping_date { get; set; }
        /// <summary>
        /// 是否是货到付款订单
        /// </summary>
        private string _is_cod;
        public string is_cod
        {
            get
            {
                return _is_cod;
            }
            set
            {
                if (value == "0") _is_cod = "不是";
                else if (value == "1") _is_cod = "是";
                else _is_cod = value;
            }
        }
        /// <summary>
        /// 是否转FBA配送订单
        /// </summary>
        private string _is_transfer_fba_delivery;
        public string is_transfer_fba_delivery
        {
            get
            {
                return _is_transfer_fba_delivery;
            }
            set
            {
                if (value == "0") _is_transfer_fba_delivery = "不是";
                else if (value == "1") _is_transfer_fba_delivery = "是";
                else _is_transfer_fba_delivery = value;
            }
        }
        /// <summary>
        /// 订单发货类型
        /// </summary>
        private string _fulfillment_type;
        public string fulfillment_type
        {
            get
            {
                return _fulfillment_type;
            }
            set
            {
                if (value == "0") _fulfillment_type = "自发货订单";
                else if (value == "1") _fulfillment_type = "平台海外仓发货订单";
                else _fulfillment_type = value;
            }
        }
        /// <summary>
        /// shopify门市名称
        /// </summary>
        public string shopify_attr_store_name { get; set; }
        /// <summary>
        /// shopify门市号码
        /// </summary>
        public string shopify_attr_store_code { get; set; }
        /// <summary>
        /// 税费
        /// </summary>
        public string tax { get; set; }
        /// <summary>
        /// 订单备注
        /// </summary>
        private string _is_custom_order;
        public string is_custom_order
        {
            get
            {
                return _is_custom_order;
            }
            set
            {
                if (value == "0") _is_custom_order = "";
                else if (value == "1") _is_custom_order = "是";
                else _is_custom_order = value;
            }
        }
        /// <summary>
        /// 定制订单备注
        /// </summary>
        public string amazon_customized_order_note { get; set; }
        /// <summary>
        /// VAT账号
        /// </summary>
        public string vat_account { get; set; }
        /// <summary>
        /// VAT税率
        /// </summary>
        public string vat_tax_rate { get; set; }
        /// <summary>
        /// 测评分摊费用
        /// </summary>
        public string evaluate_share_amount { get; set; }
        /// <summary>
        /// 速卖通销售单
        /// </summary>
        public string trade_order_id { get; set; }
        /// <summary>
        /// 是否为合并订单
        /// </summary>
        private string _is_merge;
        public string is_merge
        {
            get
            {
                return _is_merge;
            }
            set
            {
                if (value == "0") _is_merge = "未操作";
                else if (value == "1") _is_merge = "合并订单";
                else if (value == "2") _is_merge = "被合并订单";
                else if (value == "3") _is_merge = "被拆分订单";
                else if (value == "4") _is_merge = "拆分的订单";
                else _is_merge = value;
            }
        }


        /// <summary>
        /// 平台SKU
        /// </summary>
        public string platform_sku { get; set; }
        /// <summary>
        /// 仓库SKU
        /// </summary>
        public string product_sku_list { get; set; }
        /// <summary>
        /// 原平台SKU
        /// </summary>
        public string product_sku_org { get; set; }

        /// <summary>
        /// 数据库查询产品数量
        /// </summary>
        public string qty { get; set; }

        /// <summary>
        /// 产品描述
        /// </summary>
        public string product_title { get; set; }
        /// <summary>
        // OL店铺代码
        /// </summary>
        public string OLSeller { get; set; }

        /// <summary>
        /// OL平台代码
        /// </summary>
        public string OLPlatform { get; set; }
    }

    public class order_details
    {

        public string RowId { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public string op_id { get; set; }
        /// <summary>
        /// 第三方仓库单号
        /// </summary>
        public string WMSOorder { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderState { get; set; }
        /// <summary>
        /// 平台sku
        /// </summary>
        public string platform_sku { get; set; }
        /// <summary>
        /// 仓库sku对应关系 ：sku数量费用比例
        /// </summary>
        public string product_sku_info { get; set; }
        /// <summary>
        /// 仓库sku
        /// </summary>
        public string product_sku_list { get; set; }
        /// <summary>
        /// 仓库sku*数量（一个平台sku对应多少个仓库sku数量）
        /// </summary>
        public string product_sku_qty_list { get; set; }
        /// <summary>
        /// 仓库sku和数量组成Object
        /// </summary>
        public List<warehouse_sku_list> warehouse_sku_list { get; set; }
        /// <summary>
        /// 单价(含税)
        /// </summary>
        public string unit_price { get; set; }
        /// <summary>
        /// 订单折扣
        /// </summary>
        public string discount_val { get; set; }
        /// <summary>
        /// 订单税费
        /// </summary>
        public string tax { get; set; }

        /// <summary>
        /// 订单总金额
        /// </summary>
        public string amountpaid { get; set; }
        /// <summary>
        /// Aamazon订单商品原单价(结算后有值)
        /// </summary>
        public string item_price { get; set; }
        /// <summary>
        /// Aamazon订单商品原单价(订单价)
        /// </summary>
        public string original_unit_price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string qty { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string product_title { get; set; }
        /// <summary>
        /// 产品封面图片
        /// </summary>
        public string pic { get; set; }
        /// <summary>
        /// 产品站点
        /// </summary>
        public string op_site { get; set; }
        /// <summary>
        /// 产品url
        /// </summary>
        public string product_url { get; set; }
        /// <summary>
        /// 跟踪明细id，产品明细唯一标识
        /// </summary>
        public string op_ref_item_id { get; set; }
        /// <summary>
        /// ebay Item产地,Amazon商品ASIN值
        /// </summary>
        public string op_ref_item_location { get; set; }
        /// <summary>
        /// 单个交易费
        /// </summary>
        public string unit_finalvaluefee { get; set; }
        /// <summary>
        /// 单个手续费
        /// </summary>
        public string unit_platformfee { get; set; }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public string update_time { get; set; }
        /// <summary>
        /// 产品是否发货
        /// </summary>
        private string _action;
        public string action
        {
            get
            {
                return _action;
            }
            set
            {
                if (value == "0") _action = "发";
                else if (value == "1") _action = "不发";
                else _action = value;
            }
        }
        /// <summary>
        /// 销售单号
        /// </summary>
        public string order_code { get; set; }
        /// <summary>
        /// 平台原始订单号
        /// </summary>
        public string order_code_org { get; set; }
        /// <summary>
        /// 产品明细对应TransactionID
        /// </summary>
        public string op_ref_tnx { get; set; }
        /// <summary>
        /// 原平台销售SKU
        /// </summary>
        public string product_sku_org { get; set; }
        /// <summary>
        /// 原平台销售SKU数量
        /// </summary>
        public string product_sku_org_qty { get; set; }
        /// <summary>
        /// 产品备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 商品促销编码列表（仅Amazon平台可用）
        /// </summary>
        public  List<string> promotion_id_list { get; set; }
        public string promotion_id_list_s { get; set; }
        /// <summary>
        /// 速卖通订单子订单序号，用于订单标发
        /// </summary>
        public string sub_trade_order_index { get; set; }
        /// <summary>
        /// 商品定制信息内容（amazon平台）
        /// </summary>
        public string properties { get; set; }
        /// <summary>
        /// 商品定制信息URL（amazon平台的URL）
        /// </summary>
        public string buyer_customized_info_url { get; set; }
        /// <summary>
        /// 商品定制信息amazon平台返回的原始信息
        /// </summary>
        public object buyer_customized_info { get; set; }

        /// <summary>
        /// 平台创建时间
        /// </summary>
        public string date_create_platform { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string order_id { get; set; }

        /// <summary>
        // OL店铺代码
        /// </summary>
        public string OLSeller { get; set; }

        /// <summary>
        /// OL平台代码
        /// </summary>
        public string OLPlatform { get; set; }



        /// <summary>
        /// 初始平台单号
        /// </summary>
        public string refrence_no { get; set; }
        /// <summary>
        /// 拆分状态
        /// </summary>
        public string is_mark { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        public string currency { get; set; }

        /// <summary>
        /// 是否被拆分的订单
        /// </summary>
        public string is_merge { get; set; }
        /// <summary>
        /// 账号别名
        /// </summary>
        public string platform_user_name { get; set; }


        /// <summary>
        /// 跟踪号
        /// </summary>
        public string shipping_method_no { get; set; }

        /// <summary>
        /// 国家二字码
        /// </summary>
        public string order_address_country_code { get; set; }
        /// <summary>
        /// 国家名称
        /// </summary>
        public string order_address_country_name { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string order_address_city_name { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string order_address_postal_code { get; set; }
        /// <summary>
        /// 地址第一行
        /// </summary>
        public string order_address_line1 { get; set; }
        /// <summary>
        /// 地址第二行
        /// </summary>
        public string order_address_line2 { get; set; }
        /// <summary>
        /// 地址第三行
        /// </summary>
        public string order_address_line3 { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        public string order_address_district { get; set; }
        /// <summary>
        /// 州或省
        /// </summary>
        public string order_address_state { get; set; }
        /// <summary>
        /// 门牌号
        /// </summary>
        public string order_address_doorplate { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string order_address_phone { get; set; }
        /// <summary>
        /// 收件人名称
        /// </summary>
        public string order_address_name { get; set; }
        /// <summary>
        /// 买家名称
        /// </summary>
        public string buyer_name { get; set; }
        /// <summary>
        /// 买家邮箱
        /// </summary>
        public string buyer_mail { get; set; }
        /// <summary>
        /// 平台
        /// </summary>
        public string platform { get; set; }
        /// <summary>
        /// 创建人中文名称
        /// </summary>
        public string creater_user_name { get; set; }
}
    public class order_address
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string shipping_address_id { get; set; }
        /// <summary>
        /// 收件人名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string company_name { get; set; }
        /// <summary>
        /// 国家二字码
        /// </summary>
        public string country_code { get; set; }
        /// <summary>
        /// 国家名称
        /// </summary>
        public string country_name { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string city_name { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string postal_code { get; set; }
        /// <summary>
        /// 地址第一行
        /// </summary>
        public string line1 { get; set; }
        /// <summary>
        /// 地址第二行
        /// </summary>
        public string line2 { get; set; }
        /// <summary>
        /// 地址第三行
        /// </summary>
        public string line3 { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        public string district { get; set; }
        /// <summary>
        /// 州或省
        /// </summary>
        public string state { get; set; }
        /// <summary>
        /// 门牌号
        /// </summary>
        public string doorplate { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public string created_date { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string update_date { get; set; }

    }

    //public class order_config_datas
    //{
    //    /// <summary>
    //    /// 仓库sku
    //    /// </summary>
    //    public string warehouse_sku { get; set; }
    //    /// <summary>
    //    /// 仓库sku数量
    //    /// </summary>
    //    public string warehouse_sku_qty { get; set; }
    //    /// <summary>
    //    /// 定制宽
    //    /// </summary>
    //    public string customized_width { get; set; }
    //    /// <summary>
    //    /// 定制高
    //    /// </summary>
    //    public string customized_height { get; set; }
    //}

    public class warehouse_sku_list
    {
        /// <summary>
        /// 产品等级
        /// </summary>
        public string product_level { get; set; }
        /// <summary>
        /// 仓库SKU
        /// </summary>
        public string warehouse_sku { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string warehouse_sku_qty { get; set; }
    }
}
